//
//  HYAddOrSaveDeviceApi.h
//  TJHYHardwareProduct
//
//  Created by JianWei Chen on 2018/1/23.
//  Copyright © 2018年 Kendama. All rights reserved.
//

#import "YTKBaseRequest.h"

@interface HYAddOrSaveDeviceApi : YTKBaseRequest

+ (void)addDevice:(NSString *)device_type dno:(NSString *)dno province:(NSString *)province city:(NSString *)city district:(NSString *)district cid:(NSString *)cid child_cid:(NSString *)child_cid dong:(NSString *)dong ceng:(NSString *)ceng fang:(NSString *)fang lose_connection_time:(NSString *)lose_connection_time is_ignore:(NSString *)is_ignore success:(void(^)(NSDictionary *dic))successBack fail:(void(^)(NSDictionary *dic))failBack;

+ (void)saveDevice:(NSString *)deviceId device_type:(NSString *)device_type dno:(NSString *)dno province:(NSString *)province city:(NSString *)city district:(NSString *)district cid:(NSString *)cid child_cid:(NSString *)child_cid dong:(NSString *)dong ceng:(NSString *)ceng fang:(NSString *)fang lose_connection_time:(NSString *)lose_connection_time is_ignore:(NSString *)is_ignore success:(void(^)(NSDictionary *dic))successBack fail:(void(^)(NSDictionary *dic))failBack;

+ (void)addDevice:(NSString *)device_type dno:(NSString *)dno cid:(NSString *)cid child_cid:(NSString *)child_cid dong:(NSString *)dong ceng:(NSString *)ceng fang:(NSString *)fang lose_connection_time:(NSString *)lose_connection_time is_ignore:(NSString *)is_ignore success:(void(^)(NSDictionary *dic))successBack fail:(void(^)(NSDictionary *dic))failBack;

+ (void)saveDevice:(NSString *)deviceId device_type:(NSString *)device_type dno:(NSString *)dno cid:(NSString *)cid child_cid:(NSString *)child_cid dong:(NSString *)dong ceng:(NSString *)ceng fang:(NSString *)fang lose_connection_time:(NSString *)lose_connection_time is_ignore:(NSString *)is_ignore success:(void(^)(NSDictionary *dic))successBack fail:(void(^)(NSDictionary *dic))failBack;

@end
